<!-- wrapper -->
<div id="wrapper">
	<header>
        <div class="container_12">
            <div class="grid_12">
                <!-- navigation menu -->
                <nav class="main-nav">
                    <ul>
                        <li><a href="/admin/index" title="Tablero"><span class="glyph cloud"></span> Tablero</a></li>
                        <li><a href="/admin/noticias" title="Noticias"><span class="glyph icon"></span> Noticias</a></li>
                        <li><a href="/admin/eventos" title="Eventos"><span class="glyph list"></span> Eventos</a></li>
                        <li><a href="/admin/galerias" title="Galer&iacute;as"><span class="glyph image"></span> Galer&iacute;as</a></li>
                        <li><a href="/admin/videos" title="Videos"><span class="glyph movie"></span> Videos</a></li>
                        <li><a href="/admin/revistas" title="Revistas"><span class="glyph attachment"></span> Revistas</a></li>
                        <li><a href="/admin/cartones" title="Cartones"><span class="glyph favorite"></span> Cartones</a></li>
                        <li class="active"><a href="/admin/contactos" title="Contactos"><span class="glyph user"></span> Contactos</a></li>
                        <li><a href="/admin/login" title="Salir"><span class="glyph logout"></span> Salir</a></li>
                    </ul>
                </nav>
                <!-- /navigation menu -->

                <!-- bar -->
                <ul class="bar">
                    <li>
                        <a title="Usuario">
                            <span class="glyph user"></span>
                            <span class="text"><?php echo $this->userName; ?></span>
                        </a>
                    </li>
                </ul>
            </div>                
        </div>
    </header>
    <section id="main">
        <div class="container_12">
            <div class="grid_12" id="content-top">
                <div id="logo">
                    <img src="<?php echo $this->baseUrl('admin/img/logo.png'); ?>" alt="Alejandro L&oacute;pez Caballero" />
                </div>
                <nav>
                    <ul>
                        <li>
                            <a href="/index/index" target="_blank">
                                <span class="glyph open-in-new-window"></span>
                                Ver Sitio
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>

            <div id="content">

                <div class="main-box">

                    <!-- # Dashboard -->
                    <header class="grid_12 head">
                        <h1>Contactos</h1>
                        <span class="divider"></span>
                    </header>

                    <!-- DataTable -->
                    <div class="grid_12">
					<h5>Opiniones y Comentarios</h5>
                        <div class="table">
                            <table class="datatable">
                                <thead>
                                    <tr>
                                        <th>Nombre</th>
                                        <th>Correo Electr&oacute;nico</th>
                                        <th>Mensaje</th>
                                    </tr>
                                </thead>
                                <tbody>
<?php
foreach($this->contactos as $c){
?>
                                    <tr>
                                        <td><?php echo $c["nombre"]; ?></td>
                                        <td><?php echo $c["email"]; ?></td>
                                        <td><?php echo $c["mensaje"]; ?></td>
                                    </tr>
<?php } ?>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <!-- /DataTable -->
                </div>
            </div>
        </div>
    </section>
</div>
<!-- /wrapper -->